<tr class="<%=c=row_class%>">
  <td width="20%"><%=product_image product, :thumbnail %></td>
  <td width="80%">
    <%=link_to h(product.name), product%><br />
    Prijs: <%=format_price product.price%>
    <p><%=h truncate(product.description, :length => 150) or '-' %></p>
  </td>
</tr>
<tr class="<%=c%>">
  <td colspan="2">

    <%=image_tag 'basket_add.gif' %> <%= link_to 'Winkelmandje', cart_product_path(product), :method => :post %>

    <% if @is_admin then%>
          | <%= link_to 'Aanpassen', edit_admin_product_path(product) %> | <%= link_to 'Verwijderen', delete_admin_product_path(:product_id => product.id), :confirm => 'Are you sure?', :method => :delete %>
    <%end%>

  </td>
</tr>